class CreateWatchings < ActiveRecord::Migration
  def change
    create_table :watchings do |t|
      t.integer "client_id"
      t.integer "channel_id"
      t.integer "sid"
      t.string  "freq"
      t.integer "seconds"
      t.timestamps
    end
    add_index :watchings, :client_id
    add_index :watchings, :channel_id
    add_index :watchings, :sid
  end
end
